-- GENERATED SPELL FOR [Crypt Walker] --


function spell0_8556(pUnit, Event) --@Web,n/a--
pUnit:FullCastSpellOnTarget(745,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8556', 5328, 1)
end

function Sorts_8556(pUnit, Event)
local choix_sorts_8556 = math.random(0, 0)
if choix_sorts_8556 == 0 then
pUnit:RegisterEvent('spell0_8556', 1, 1)
end
end

function mob8556_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8556', math.random(1500, 3000), 1)
end

function mob8556_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8556_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8556_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8556, 1, 'mob8556_Action')
RegisterUnitEvent(8556, 2, 'mob8556_Leave')
RegisterUnitEvent(8556, 3, 'mob8556_Kill')
RegisterUnitEvent(8556, 4, 'mob8556_Die')
